﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wicresoft.UnifyShow.Business;

namespace Wicresoft.UnifyShow.BusinessImplMock
{
    public class MockBusinessUser_X : IDisposable, IUser_X
    {
        public List<UserAndSiteModel> GetSiteIDByName(string name)
        {
            return new List<UserAndSiteModel>();
        }

        public List<SiteBranchModel> GetSiteBranchByID(decimal ID)
        {
            return new List<SiteBranchModel>() { new SiteBranchModel() { } };
        }

        public User_XModel GetUserByID(decimal ID)
        {
            return new User_XModel();
        }

        public SFUser_XModel GetUserByIDSF(decimal ID)
        {
            return new SFUser_XModel();
        }

        public decimal GetCountOfTheAllSite()
        {
            return 2;
        }

        public User_XModel GetUser_XByName(string name)
        {
            return new User_XModel();
        }

        public List<User_XModel> GetListPageAndSortUser_X(out decimal totalRecords, int pageSize = -1, int pageIndex = -1, string sortName = "DisplayName", string sortDirection = "Ascending", string name = "", string displayname = "")
        {
            totalRecords = 0;
            return new List<User_XModel>();
        }

        public List<User_XModel> GetListPageAndSortUser_X(out decimal totalRecords, string companyName, int pageSize = -1, int pageIndex = -1, string sortName = "DisplayName", string sortDirection = "Ascending", string name = "", string displayname = "")
        {
            totalRecords = 0;
            return new List<User_XModel>();
        }

        public string UpdateRoleByUserID(SFUser_XModel model, List<decimal> roles_US, List<decimal> roles_GJ)
        {
            return string.Empty;
        }

        public int ChangePassword(string login, string pass)
        {
            throw new NotImplementedException();
        }

        public int Create(SFUser_XModel model, out string resultStr)
        {
            throw new NotImplementedException();
        }

        public List<SupportGroupCompany> GetGroupsByCompany(string Company, string type)
        {
            throw new NotImplementedException();
        }

        public List<SupportGroupCompany> GetPeople(string Company, string Group, string type)
        {
            throw new NotImplementedException();
        }

        public List<SupportGroupCompany> GetPeoples(string Company, string type)
        {
            throw new NotImplementedException();
        }

        public bool Exist(string loginName)
        {
            throw new NotImplementedException();
        }

        public int UpdateUserSiteTable(SFUser_XModel model)
        {
            throw new NotImplementedException();
        }

        public int DeleteUserSiteInfo(SFUser_XModel model)
        {
            throw new NotImplementedException();
        }

        public void Dispose()
        {
            return;
        }

        public List<User_XModel> GetUserListByQueryParameter(out decimal totalCount, QueryString query, int? pageIndex, int? pageSize, string sort = "DisplayName", string order = "Descending")
        {
            totalCount = 0;
            return new List<User_XModel>();
        }


        public SiteBranchModel GetSiteBranchBySiteID(decimal ID)
        {
            throw new NotImplementedException();
        }


        public User_XModel GetUserByPeopleNo(string ID)
        {
            throw new NotImplementedException();
        }
    }
}
